@import "baseScss";


.container {
  padding-bottom: 100rem / $baseFont;
  min-height: 100%;
  background-color: #f8f8f8;
  // title
  header.title {
    margin: 0 auto;
    width: 750rem / $baseFont;
    height: 100rem / $baseFont;
    line-height: 100rem / $baseFont;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 (.5rem / $baseFont) (2rem / $baseFont);
    h1 {
      margin:0;
      font-size: 37rem / $baseFont;
      font-weight: bold;
      color: #000;
    }
  }
  // message
  .message {
    margin: (14rem / $baseFont) auto;
    width: 688rem / $baseFont;
    height: 87rem / $baseFont;
    line-height: 87rem / $baseFont;
    text-align: center;
    background-color: #fef1e0;
    border-radius: 10rem / $baseFont;
    p {
      font-size: 29rem / $baseFont;
      color: #3f3822;
      span {
        color: #f07300;
      }
    }
  }
  // address
  .address {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    width: 688rem / $baseFont;
    height: 189rem / $baseFont;
    background-color: #fff;
    border-radius: (10rem / $baseFont);
    box-shadow: 0 (3rem / $baseFont) (6rem / $baseFont) 0 #ccc;
    // transform: translateY(-54rem / $baseFont);
    .addr-l {
      margin-left: 36rem / $baseFont;
      p {
        &:nth-of-type(1) {
          font-weight: bold;
        }
        margin-top: 22rem / $baseFont;
        font-size: 27rem / $baseFont;
        color: #222;
      }
      span {
        margin-top: 14rem / $baseFont;
        font-size: 23rem / $baseFont;
        color: #666;
      }
    }
    .addr-r {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 (5rem / $baseFont);
      width: 160rem / $baseFont;
      height: 63rem / $baseFont;
      margin: (35rem / $baseFont) (22rem / $baseFont);
      background-color: $baseColor;
      color: #fff;
      font-size: 22rem / $baseFont;
      border-radius: 32rem / $baseFont;
      span {
        width: 80rem / $baseFont;
        height: 53rem / $baseFont;
        line-height: 53rem / $baseFont;
        text-align: center;
        &.active {
          background-color: #fff;
          color: $baseColor;
          border-radius: 27rem / $baseFont;
        }
      }
    }
  }
  // list
  .list {
    margin: (15rem / $baseFont) auto;
    width: 688rem / $baseFont;
    height: 341rem / $baseFont;
    background-color: #fff;
    border-radius: (10rem / $baseFont);
    box-shadow: 0 (3rem / $baseFont) (6rem / $baseFont);
    .goods {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 0 auto;
      width: 646rem / $baseFont;
      height: 121rem / $baseFont;
      border-bottom: (2rem / $baseFont) solid #eee;
      .info-l {
        .goods-name {
          font-size: 27rem / $baseFont;
          color: #212121;
        }
        .attr {
          font-size: 25rem / $baseFont;
          color: #666;
        }
      }
      .info-r {
        .count {
          margin-right: 30rem / $baseFont;
          font-size: 23rem / $baseFont;
          color: #999;
        }
        .price {
          font-size: 31rem / $baseFont;
          color: #222;
        }
      }
    }
    .total {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      margin: 0 auto;
      width: 646rem / $baseFont;
      height: 97rem / $baseFont;
      >p {
        margin-right: 10rem / $baseFont;
        font-size: 25rem / $baseFont;
        color: #666;
      }
      >span {
        font-size: 31rem / $baseFont;
        color: $baseColor;
      }
    }
  }
  // pay
  .pay {
    margin: (15rem / $baseFont) auto;
    width: 688rem / $baseFont;
    height: 282rem / $baseFont;
    background-color: #fff;
    border-radius: (10rem / $baseFont);
    box-shadow: 0 (3rem / $baseFont) (6rem / $baseFont);
    .pay-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 0 auto;
      width: 646rem / $baseFont;
      height: 92rem / $baseFont;
      border-bottom: (2rem / $baseFont) solid #eee;
      p {
        font-size: 27rem / $baseFont;
        color: #222;
      }
      >div {
        display: flex;
        align-items: center;
        >img {
          margin-right: 12rem / $baseFont;
          width: 48rem / $baseFont;
          height: 44rem / $baseFont;
        }
        >span {
          font-size: 27rem / $baseFont;
          color: $baseColor;
        }
        >a {
          margin-left: 28rem / $baseFont;
          color: #b0b0b0;
        }
      }
    }
  }
  // agree
  .agree {
    display: flex;
    align-items: center;
    margin: (27rem / $baseFont) auto;
    width: 688rem / $baseFont;
    >span {
      margin-right: 10rem / $baseFont;
      font-size: 38rem / $baseFont;
      color: $baseColor;
    }
    >p {
      font-size: 23rem / $baseFont;
      color: #999;
      >a {
        color: $baseColor;
      }
    }
  }
  // footer bottom
  footer.bottom {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    width: 750rem / $baseFont;
    height: 100rem / $baseFont;
    box-shadow: 0 (-.5rem / $baseFont) (20rem / $baseFont) (.2rem / $baseFont);
    .total {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      flex: 2;
      height: 100rem / $baseFont;
      background-color: #fff;
      >p {
        font-size: 25rem / $baseFont;
        color: #666;
      }
      >span {
        margin-right: 17rem / $baseFont;
        margin-left: 10rem / $baseFont;
        font-size: 37rem / $baseFont;
        color: $baseColor;
      }
    }
    .settle {
      flex: 1;
      height: 100rem / $baseFont;
      line-height: 100rem / $baseFont;
      text-align: center;
      color: #fff;
      font-size: 31rem / $baseFont;
      background-color: $baseColor;
    }
  }
}
